 
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link href="css/tablestyle.css" type="text/css" rel="stylesheet"/>
    </head>
    <body>
     <div id="container">
         <%@include file="header.jsp" %>
         
        <div id="form_login">
            <form action="Login" method="post">
                <div class="title_login">
                    <span>Login</span>
                </div>
                <div class="content_login">
                    <table style="width: 100%">
                        <tr>
                            <td>Username:</td>
                            <td><input class="itext" type="text" name="txtusername" required="true" value="" /></td>
                        </tr>
                        <tr>
                            <td>Password:</td>
                            <td><input class="itext" type="password" name="txtpassword" required="true" value=""/></td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center">
                                <input class="ibuton" type="submit" name="action"  value="Login" />
                                <input class="ibuton" type="reset" value="Reset"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center; vertical-align: top; color: red;">
                                <% 
                                    String loginerr= "";
                                    loginerr = (String)request.getAttribute("loginloi");
                                    if(loginerr != null){
                                        out.print(loginerr);
                                    }
                                %>
                            </td>
                        </tr>
                    </table>
                    
                </div>
           </form>
         </div>
     </div>
    </body>
</html>
